const path = require('path');
const Mock = require('mockjs');
const utils = require('../Utils/index')

module.exports = function (app) {
  // console.log();
  // console.log("/src/mock/Test/UserTest.js", process.env.MOCK);
  // console.log("/src/mock/Test/UserTest.js", typeof process.env.MOCK);
  // console.log(app);
  app.get("/api/user/userInfo", function (req, res) {
    // var jsonObj = utils.getJson5File(path.join(__dirname, './user.json5'));
    // res.json(Mock.mock(jsonObj));
    res.json({ custom: 'response UserTest 8081' });
  });
}
